package org.example.juniortest;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class School {
    public static void main(String[] args) throws IOException {
        List<Student> students=new ArrayList<>();
        String allTheStudent = SchoolTool.createStudent().content()+"\r\n";
        FileTool.createFile("Student.txt", SchoolTool.createStudent());
        for (int i = 0; i <99 ; i++) {
            allTheStudent+=SchoolTool.createStudent().content()+"\r\n";
        }
        FileTool.writeFile("Student.txt",allTheStudent);
        students=FileTool.readFile("Student.txt");


    }
}
